package com.cusc.module_monitor_location.adapter;

import android.view.View;

import com.chad.library.adapter.base.BaseNodeAdapter;
import com.chad.library.adapter.base.entity.node.BaseNode;
import com.cusc.module_monitor_location.provider.FirstProvider;

import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * 作者: wangfei
 * 创建时期: 2020/4/29.
 * 包名: com.cusc.module_monitor_location.adapter
 * 类名: OSAndroidMvvm
 */
public class NodeDepartmentAdapter extends BaseNodeAdapter {


    public NodeDepartmentAdapter() {
        super();
        addNodeProvider(new FirstProvider());
    }

    @Override
    protected int getItemType(@org.jetbrains.annotations.NotNull List<? extends BaseNode> list, int position) {
        return 1;
    }

    public static final int EXPAND_COLLAPSE_PAYLOAD = 110;


    @Override
    protected void setOnItemChildClick(@NotNull View v, int position) {
        super.setOnItemChildClick(v, position);

    }
}
